Skip to content

Persist OAuth clients and refresh tokens#21

Open
8866Jason wants to merge 1 commit into
Waishnav:mainfrom
8866Jason:fix/persist-oauth-state
Open

Persist OAuth clients and refresh tokens#21
8866Jason wants to merge 1 commit into
Waishnav:mainfrom
8866Jason:fix/persist-oauth-state

Conversation

@8866Jason

Copy link
Copy Markdown

Fixes #2.

This persists OAuth registered clients so MCP clients do not hit invalid_client after the DevSpace server restarts.

It also persists refresh tokens using hashed token keys only. Persisting clients alone still leaves existing sessions unable to refresh after restart.

Validation:

  • npm run typecheck
  • npm test
  • npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OAuth client_id becomes invalid after server restart due to in-memory client store

1 participant